package com.ruoyi.system.domain.construction.strategy;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 施工攻略详情对象 construction_strategy_detail
 * 
 * @author zhangshaocong
 * @date 2020-12-03
 */
public class ConstructionStrategyDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 案例ID */
    private Long strategyDetailId;

    /** 施工攻略ID */
    @Excel(name = "施工攻略ID")
    private Long constructionStrategyId;

    /** 施工攻略标题 */
    @Excel(name = "施工攻略标题")
    private String strategyDetailTitle;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String strategyDetailName;

    /** 项目地点 */
    @Excel(name = "项目地点")
    private String strategyDetailPlace;

    /** 项目盘楼 */
    @Excel(name = "项目盘楼")
    private String strategyDetailFloor;

    /** 项目面积 */
    @Excel(name = "项目面积")
    private Long strategyDetailArea;

    /** 项目设计师 */
    @Excel(name = "项目设计师")
    private String strategyDetailDesigner;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    private ConstructionStrategy strategy;

    public void setStrategyDetailId(Long strategyDetailId) 
    {
        this.strategyDetailId = strategyDetailId;
    }

    public Long getStrategyDetailId() 
    {
        return strategyDetailId;
    }
    public void setConstructionStrategyId(Long constructionStrategyId) 
    {
        this.constructionStrategyId = constructionStrategyId;
    }

    public Long getConstructionStrategyId() 
    {
        return constructionStrategyId;
    }
    public void setStrategyDetailTitle(String strategyDetailTitle) 
    {
        this.strategyDetailTitle = strategyDetailTitle;
    }

    public String getStrategyDetailTitle() 
    {
        return strategyDetailTitle;
    }
    public void setStrategyDetailName(String strategyDetailName) 
    {
        this.strategyDetailName = strategyDetailName;
    }

    public String getStrategyDetailName() 
    {
        return strategyDetailName;
    }
    public void setStrategyDetailPlace(String strategyDetailPlace) 
    {
        this.strategyDetailPlace = strategyDetailPlace;
    }

    public String getStrategyDetailPlace() 
    {
        return strategyDetailPlace;
    }
    public void setStrategyDetailFloor(String strategyDetailFloor) 
    {
        this.strategyDetailFloor = strategyDetailFloor;
    }

    public String getStrategyDetailFloor() 
    {
        return strategyDetailFloor;
    }
    public void setStrategyDetailArea(Long strategyDetailArea) 
    {
        this.strategyDetailArea = strategyDetailArea;
    }

    public Long getStrategyDetailArea() 
    {
        return strategyDetailArea;
    }
    public void setStrategyDetailDesigner(String strategyDetailDesigner) 
    {
        this.strategyDetailDesigner = strategyDetailDesigner;
    }

    public String getStrategyDetailDesigner() 
    {
        return strategyDetailDesigner;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }

    public ConstructionStrategy getStrategy() {
        return strategy;
    }

    public void setStrategy(ConstructionStrategy strategy) {
        this.strategy = strategy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("strategyDetailId", getStrategyDetailId())
            .append("constructionStrategyId", getConstructionStrategyId())
            .append("strategyDetailTitle", getStrategyDetailTitle())
            .append("strategyDetailName", getStrategyDetailName())
            .append("strategyDetailPlace", getStrategyDetailPlace())
            .append("strategyDetailFloor", getStrategyDetailFloor())
            .append("strategyDetailArea", getStrategyDetailArea())
            .append("strategyDetailDesigner", getStrategyDetailDesigner())
            .append("modifiedTime", getModifiedTime())
            .toString();
    }
}
